package com.efast.dmom.mes.service;

import java.util.List;

import com.efast.dmom.mes.bean.CustomerPart;
import com.efast.dmom.mes.bean.ResultBean;

public interface CustomerPartService {

	ResultBean save(CustomerPart customerPart);

	ResultBean update(CustomerPart customerPart);

	ResultBean delete(CustomerPart customerPart);

	CustomerPart getById(long id);

	CustomerPart getByName(String name);

	List<CustomerPart> getCustomerPartByCustomerId(long customerId);

	List<CustomerPart> getCustomerPartByPartId(long partId);

}
